
#ifndef SETTINGS_H
#define SETTINGS_H
#include "system.h"
#include "doctypes.h"


namespace doc
{
	class Settings
	{
		private:
			mutable string_basket _templates;
			std::string _exePath;
		public:
			Settings();
			int XSplit;
			int YSplit;
			void Load();
			void Save();
			const string_basket & GetTemplates() const;
			void GetTemplateFilename(int index, std::string& result) const;
			string GetTemplateFilename(const std::string& templateName) const;
			void SetExePath(const std::string& path);
			string TemplatePath() const;
	  		~Settings();
	  		void GetTextFont(LOGFONT &font) const;
	  		void SetTextFont(const LOGFONT &font);

	};
}
#endif // SETTINGS_H

